const mongoose = require("mongoose");
const Schema = mongoose.Schema;
const House = new Schema({
	sId: String,
	link: String,
	title: String,
	kfs: String,
	address: String,
	content: String,
	houseNumber: String,
	phone: String,
	yxdjTimeStart: Date,
	yxdjTimeEnd: Date,
	receiveTimeStart: Date,
	receiveTimeEnd: Date,
	prices: Array,
	lng: {
		type: String,
		default: 0
	},
	lat: {
		type: String,
		default: 0
	},
	area: {
		type: String,
		default: "c6"
	}
}, {
	timestamps: true
});
mongoose.model("House", House);